package com.ozo.cloud.system.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文件对象
 *
 * @author qiangesoft
 * @date 2024-10-29
 */
@Schema(description = "文件对象")
@Data
@NoArgsConstructor
public class SysFileVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema(description = "原文件名称")
    private String originalName;

    @Schema(description = "文件大小")
    private Integer fileSize;

    @Schema(description = "文件后缀")
    private String fileSuffix;

    @Schema(description = "文件路径")
    private String filePath;

    @Schema(description = "文件下载地址")
    private String fileUrl;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
